<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发布帖子</title>
<%@ include file="../common/link.jsp" %>
<%@ include file="../common/script.jsp" %>
<script type="text/javascript">
$(window).load(function(){
	$('#demo-side-bar').removeAttr('style');
});
window.onload = function() {
    var show = document.getElementById("show");
    setInterval(function() {
        var time = new Date();
        // 程序计时的月从0开始取值后+1
        var m = time.getMonth() + 1;
        var t = time.getFullYear() + "-" + m + "-"
            + time.getDate() + " " + time.getHours() + ":"
            + time.getMinutes() + ":" + time.getSeconds();
        show.innerHTML = t;
    }, 1000);
};

</script>

<style type="text/css">
.demobar{display:none;}
#demo-side-bar{top:53px!important;left:90%!important;display:block!important;}
</style>
<%@ include file="../common/header.jsp" %>
</head>
<body>
<!-- START CONTENT -->
    <section class="container clearfix">
       <div class="clear padding40"></div>
       <!-- END COMMENTS -->
       <!-- START LEAVE A COMMENT -->
       <h3 class="bottom_line2" id="leave_comment">发布帖子</h3>
       <div class="clear"></div>
       <form method="post" action="${pageContext.request.contextPath}/post/newpostt" class="comments_form">
       <div class="textarea_wrap">
            <ul><li>
                <label for="message">帖子标题<span>*</span></label>
                <input name="postTitle" id="postTitle"title="帖子标题">
                <!-- <input name="postTime" id="postTime" type="hidden"></li> -->
                <li>
                    <label for="message">帖子内容<span>*</span></label>
                    <textarea name="postMain" id="postMain" cols="70" rows="6"></textarea></li>                
             </ul>
        </div>
             <div class="clear padding25"></div>
             <button type="submit" class="button white"><span>发布帖子</span></button>
             <div class="clear"></div>
        </form>
        <div class="clear"></div>

        <div class="clear padding40"></div>
    </section>
    <!-- END CONTENT -->
<%@ include file="../common/footer.jsp" %> 	
</body>
</html>